package com.loong.web.gp4j.bean.param.user;

import org.hibernate.validator.constraints.NotBlank;

/**
 * 用户信息参数
 * 
 * @author 张成轩
 */
public class LoginParam {

	private String user;
	private String password;
	private String vc;
	private Boolean remember;
	private String back;

	/**
	 * @return 用户名
	 */
	@NotBlank(message = "用户不能为空")
	public String getUser() {

		return user;
	}

	/**
	 * @param user 用户名
	 */
	public void setUser(String user) {

		this.user = user;
	}

	/**
	 * @return 密码
	 */
	@NotBlank(message = "密码不能为空")
	public String getPassword() {

		return password;
	}

	/**
	 * @param password 密码
	 */
	public void setPassword(String password) {

		this.password = password;
	}

	/**
	 * @return 验证码
	 */
	public String getVc() {

		return vc;
	}

	/**
	 * @param vc 验证码
	 */
	public void setVc(String vc) {

		this.vc = vc;
	}

	/**
	 * @return 记住登录
	 */
	public Boolean getRemember() {

		return remember;
	}

	/**
	 * @param remember 记住登录
	 */
	public void setRemember(Boolean remember) {

		this.remember = remember;
	}

	/**
	 * @return 返回路径
	 */
	public String getBack() {

		return back;
	}

	/**
	 * @param back 返回路径
	 */
	public void setBack(String back) {

		this.back = back;
	}
}
